package org.ms.springboot.aop.exception;

import lombok.Data;

@Data
public class CheckException extends RuntimeException {

    private Integer code;
    private String msg;

    public CheckException() {
        this(null);
    }

    public CheckException(String msg) {
        this(null, msg);
    }

    public CheckException(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
